package br.com.news.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.news.database.daos.interfaces.IComentarioDao;
import br.com.news.database.entities.ComentarioEntity;
import br.com.news.database.utils.GenericService;
import br.com.news.database.utils.interfaces.IGenericDao;
import br.com.news.utils.database.beans.ComentarioBean;
import br.com.news.utils.database.interfaces.IComentarioService;

@Named
public class ComentarioService extends GenericService<ComentarioBean, ComentarioEntity, Long> implements IComentarioService{

	@Inject
	private IComentarioDao comentarioDao;

	@Override
	protected IGenericDao<ComentarioEntity, Long> getConcreteDao() {
		return this.comentarioDao;
	}

}
